package cn.dust.design.pattern.behavioral.state;

/**
 * @Author: dust
 * @Date: 2019/11/28 19:42
 */
public abstract class CourseVideoState {
    protected CourseVideoContext courseVideoContext;

    public CourseVideoContext getCourseVideoContext() {
        return courseVideoContext;
    }

    public void setCourseVideoContext(CourseVideoContext courseVideoContext) {
        this.courseVideoContext = courseVideoContext;
    }

    public abstract void play();
    public abstract void speed();
    public abstract void pause();
    public abstract void stop();
}
